package com.javabean;

import java.util.List;

public class MyRole {
    private int id;
    private String name;
    private List<MyPermission> plist;

    public MyRole() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<MyPermission> getPlist() {
        return plist;
    }

    public void setPlist(List<MyPermission> plist) {
        this.plist = plist;
    }

    @Override
    public String toString() {
        return "MyRole{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", plist=" + plist +
                '}';
    }
}
